package test

import (
	"context"
	"time"
)

//rpc_test 服务

const  (
	//是否删除
	IS_DEL_YES = 1 //已经删除
	IS_DEL_NO  = 0 //未删除
)
type Userinfo struct {
	Id int
	Name string
}
type ArgsGetUserinfo struct {
	UserId int
}
type RelpiesGetUserinfo struct {
	Ctime time.Time
	Userinfo
}
//RPCService 服务
type TestService interface {
	GetUserinfo(ctx context.Context,args *ArgsGetUserinfo,replies *RelpiesGetUserinfo)(error)
}